package com.yeheng.inteceptor;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpFilter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @PackgeName: com.yeheng.inteceptor
 * @ClassName: MyFilter
 * @Author: YH
 * Date: 2021/1/1 14:49
 * project name: homework1
 * @Version:
 * @Description:
 */
//@WebFilter("/*")
public class MyFilter extends HttpFilter {

    public MyFilter() {

    }

    @Override
    protected void doFilter(HttpServletRequest req, HttpServletResponse res, FilterChain chain) throws IOException, ServletException {
        chain.doFilter(req,res);
    }


}
